#!/usr/bin/env gnuplot

set grid  #设置网格


set title "AKima插值算法"
#set key  box #设置图例
#set xrang [0:10]

set xlabel "x"
set ylabel "y"

plot \
    "data.txt" u 1:2 w lp t "数据源" ,\
    "sampData.txt" u 1:2 w lp t "采样数据" ,\
    "out.txt" u 1:2 w lp t "插值数据" 


plot \
    "data.txt" u 1:2 w lp t "数据源" ,\
    "out.txt" u 1:2 w lp t "插值数据" 



pause 200 #等待20s
quit